<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>自定义tabBar</title>
    <style>
      * {
        /* 初始化 取消页面的内外边距 */
        padding: 0;
        margin: 0;
      }
      body{
        background: #f5f5f5;
      }
      .tabBar-box{
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        align-items: center;
        height: 60px;
        background: pink;
      }
      .tabBar-item{
        width: calc(100% / 2);
        text-align: center;
        z-index:10;

      }
      .tabBar-mid{
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 360px;
        height: 100%;
        background: pink;
      }
      .tabBar-mid:before{
        content: " ";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 190px;
        height: 190px;
        /*border-radius: 50%;*/
        border-top-right-radius: 50%;
        background: pink;
        box-shadow: 0 -60px 0  #f5f5f5;
        z-index: 1;
      }
      .tabBar-mid:after{
        content: " ";
        display: block;
        position: absolute;
        top: 0;
        right: 60px;
        width: 80px;
        height: 80px;
        /*border-radius: 50%;*/
        border-top-left-radius: 50%;
        /*background: cornflowerblue;*/
        box-shadow: -20px -50px 0  #f5f5f5;
        z-index: 1;
      }
      .tabBar-circle{
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 100px;
        border-radius: 50%;
        background: #3cadeb;
        z-index: 111;
      }
      .rounded {
width: 200px;
height: 100px;
background-color: #c3f3c3;border-radius: 25px;
}
    </style>
</head>
<body>
  <div class="tabBar-box">
    <div class="tabBar-item" >列表</div>
    <div class="tabBar-mid">
      <div class="tabBar-circle"></div>
    </div>
    <div class="tabBar-item">列表</div>
  </div>
  <div class="rounded"></div>
  <div style="border: 1px solid;display: flex;align-items: end;background-color: red;height: 20px;margin-top: 50vh;">
     <div style="border: 1px solid;width: 50vw;height: 80px;background-color: blue;border-radius:89% 11% 100% 0% / 0% 100% 0% 100% "></div>
     <div style="border: 1px solid;width: 110px;height: 110px;background-color: red;border-radius: 50%;position: absolute;"></div>
     <div style="border: 1px solid;width: 50vw;height: 80px;background-color: green;border-radius:11% 89% 0% 100% / 100% 0% 100% 0%;margin-left: 40px; "></div>
  </div>
</body>
</html>
